﻿#datecommon {
    float: left;
    padding-right: 150px;
}

#calendarmonth, #monthtable, table, tbody {
    width: 99.9%;
    height: 98.3%;
}

td {
    width: 14.3%;
    border: 0px solid gray;
    background-color: #f0f0f0;
    color: #000;
}


#pre, #next {
    background-color: #e7e7e7;
    font-size: 2.5em;
    padding: 0 20px;
}

    #pre:hover, #next:hover {
        background-color: gray;
    }

#pre {
    float: left;
}

#dropdownpicker {
    float: left;
    margin-left: 55px;
}

#next {
    float: right;
    margin-right: 7px;
}


.monthtableheader {
    text-align: center;
    height: 50px;
    font-size: 1.5em;
}

.daycell {
    text-align: center;
}

    .daycell:hover {
        border:5px solid green;
        background-color:white;
    }

.todaycell {
    background-color: #1fb1a6;
    background-image: url(../../images/todayflag.png);
    background-repeat: no-repeat;
    background-position: right bottom;
}

.publicholidaycell {
    background-color: #FF6666;
    border-top: 5px solid #ff0000;
    font-weight: bold;
}

    .publicholidaycell .daycommonholiday {
        color: #000;
    }

.daynumber {
    font-size: 3em;
}


.day24festival, .daychinesefestival, .daycommonholiday {
    color: #0000ff;
    font-weight: bold;
}

.hiddenFullDateDiv {
    display: none;
}

.event {
    background-color: blue;
}


@media screen and (-ms-view-state: snapped) {
    section[role=main] {
        margin-top: 10px;
    }

    #monthtable {
        width: 100%;
        height: 50%;
    }

    .monthtableheader {
        height: 30px;
    }

    #pre, #next {
        font-size: 2em;
        padding: 0;
    }

    #dropdownpicker {
        margin-left: 20px;
    }

    .monthtableheader, .daynumber, .publicholidaycell {
        font-size: 1em;
        font-weight: normal;
    }

    .todaycell {
        background-image: none;
    }
}
